<?php

include '../Model/DAL/Functions.php';
$functions = new Functions();

$action = (isset($_REQUEST['action']) === NULL) ? '' : $_REQUEST['action'];

// NGAY HIEN TAI
if ($action === 'GETCURRENTDATE') {
    echo json_encode($functions->getCurrentDate());
}
?>